#pragma once
#include "BasicFunction.h"
#include "atlimage.h"
using namespace std;


// CDicomControl dialog

class CDicomControl : public CDialog
{
	DECLARE_DYNAMIC(CDicomControl)

public:
	CDicomControl(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDicomControl();

// Dialog Data
	enum { IDD = IDD_DICOM };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnOK();

private:
	vector<string>	filelist;
	CWnd* parent;
	CBasicFunction bf;
	vector<CImage> listofimage;

public:
	void	SetFileList(vector<string> newfilelist);

	DECLARE_MESSAGE_MAP()
	afx_msg void OnNMLDownDicomImageslider(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnBnClickedButton1();
};
